#
# Be sure to run `pod lib lint HCGitModule.podspec' to ensure this is a
# valid spec before submitting.
#
# Any lines starting with a # are optional, but their use is encouraged
# To learn more about a Podspec see https://guides.cocoapods.org/syntax/podspec.html
#

Pod::Spec.new do |s|
  s.name             = 'HCGitModule'
  s.version          = '0.4.4'
  s.summary          = 'A short description of HCGitModule.'

# This description is used to generate tags and improve search results.
#   * Think: What does it do? Why did you write it? What is the focus?
#   * Try to keep it short, snappy and to the point.
#   * Write the description between the DESC delimiters below.
#   * Finally, don't worry about the indent, CocoaPods strips it!

  s.description      = <<-DESC
TODO: Add long description of the pod here.
                       DESC

  s.homepage         = 'https://gitee.com/jiangqianqiu/jnetwork.git'
  # s.screenshots     = 'www.example.com/screenshots_1', 'www.example.com/screenshots_2'
  s.license          = { :type => 'MIT', :file => 'LICENSE' }
  s.author           = { '蒋千秋' => 'm17710755529@163.com' }
  s.source           = { :git => 'https://gitee.com/jiangqianqiu/jnetwork.git', :tag => s.version.to_s }
  # s.social_media_url = 'https://twitter.com/<TWITTER_USERNAME>'

  s.ios.deployment_target = '9.0'

  
  ##########--ProgressHub---#########
  s.subspec 'ProgressHub' do |hub|
  hub.ios.deployment_target = '9.0'
  hub.source_files = 'HCGitModule/Classes/ProgressHub/*'
  hub.dependency 'MBProgressHUD', '~> 0.9'

  end


  ##########--DomainManager---#########
  s.subspec 'DomainManager' do |domain|
  domain.ios.deployment_target = '9.0'
  domain.source_files = 'HCGitModule/Classes/DomainManager/*'
  domain.dependency 'BRPickerView'
  end
  
  
  ##########--DomainManager---#########
  s.subspec 'LevelDB' do |r|
  r.ios.deployment_target = '9.0'
  r.source_files = 'HCGitModule/Classes/LevelDB/*'
  r.dependency 'Objective-LevelDB'
#  r.dependency 'leveldb-library'

  end



  ##########--基础组件---#########
  s.subspec 'NetWork' do |net|
  net.ios.deployment_target = '9.0'
  net.dependency 'AFNetworking'
  net.dependency 'MJExtension'
  
      net.subspec 'Base' do |base|
      base.ios.deployment_target = '9.0'
      base.source_files = 'HCGitModule/Classes/NetWork/Base/*'
      end
      
      net.subspec 'RAC' do |rac|
      rac.ios.deployment_target = '9.0'
      rac.source_files = 'HCGitModule/Classes/NetWork/RAC/*'
      rac.dependency 'HCGitModule/NetWork/Base'
      rac.dependency 'ReactiveObjC'
      end
      
  end



  ##########--IGListKitBaseSC---#########
  s.subspec 'IGListKitBaseSC' do |listKit|
  listKit.ios.deployment_target = '9.0'
  listKit.dependency 'IGListKit'
      listKit.subspec 'IGSubListSC' do |sc|
      sc.ios.deployment_target = '9.0'
      sc.source_files = 'HCGitModule/Classes/IGListKitBaseSC/IGSubListSC/*'
      end

      listKit.subspec 'IGWaterFallLayoutSC' do |sc|
      sc.ios.deployment_target = '9.0'
      sc.source_files = 'HCGitModule/Classes/IGListKitBaseSC/IGWaterFallLayoutSC/*'
      sc.dependency 'HCGitModule/IGListKitBaseSC/IGSubListSC'
      end
  end

#  s.subspec 'Video' do |video|
#      video.ios.deployment_target = '9.0'
#      video.source_files = 'HCGitModule/Classes/Video/*'
#      video.dependency 'TXLiteAVSDK_TRTC'
#      video.frameworks = 'Accelerate', 'AVFoundation'
#      video.library = 'c++','resolv'
#
#  end
  
  # s.resource_bundles = {
  #   'HCGitModule' => ['HCGitModule/Assets/*.png']
  # }

  # s.public_header_files = 'Pod/Classes/**/*.h'
  # s.frameworks = 'UIKit', 'MapKit'
  # s.dependency 'AFNetworking', '~> 2.3'
end
